FROM registry.cn-beijing.aliyuncs.com/dkgee/nginx:1.13

COPY nginx/default.conf /etc/nginx/conf.d/
COPY dist/ /usr/share/nginx/html

# 规避yui问题
RUN sh -c 'sed -i "s/yui/oooooo/g" `grep yui -rl /usr/share/nginx/html/static/js/*.js`'
